package teach.aistar.mapper;




import org.apache.ibatis.annotations.Param;

import org.apache.ibatis.annotations.Select;
import teach.aistar.model.entity.CarStyle;

import java.util.List;

public interface CarStyleMapper {


    @Select(" select * from car_style ")
    List<CarStyle> findAll();

    @Select("select * from car_style where id = #{id}")
    CarStyle findById(@Param("id") int id);
}

